# -*- coding:utf-8 -*-

" IMPORT "
from config.global_config import *
from vendor.my_tools import fetch, md5_hash
from vendor.sip import Sip
from vendor.logger import logger

""" class sip Config by ikaidian """
APPKEY = '16635'
CERTCODE = '5894b000a0bf11dd8d3cfee3c21c434f'
SIPSESSIONID = response.session_id  # by web2py
#SIPSESSIONID = None
MY_ALISOFT_URL = 'http://mall.alisoft.com/apps/shopwindow/showAppDetailAction!view.jspa?appID='+APPKEY

""" instance """
sip = Sip(APPKEY, CERTCODE, SIPSESSIONID)

# http://groups.google.com/group/web2py/browse_thread/thread/b406cafc55fde168?hl=en
#index_url=URL(r=request,f='index') 
#def login(): return dict(form = auth.login(next=index_url))
#def register(): return dict(form = auth.register(next=index_url)) 
